//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.views.model.viewsscript;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;

public class ViewsScriptInfoVO {
    @JsonProperty("id")
    private String id;
    @JsonProperty("name")
    private String name;
    @JsonProperty("value")
    private String value;
    @JsonProperty("enabledmark")
    private String enabledmark;
    @JsonProperty("creatoruserid")
    private String creatoruserid;
    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss",
        timezone = "GMT+8"
    )
    @JsonProperty("creatortime")
    private Date creatortime;
    @JsonProperty("lastmodifyuserid")
    private String lastmodifyuserid;
    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss",
        timezone = "GMT+8"
    )
    @JsonProperty("lastmodifytime")
    private Date lastmodifytime;

    public String getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getValue() {
        return this.value;
    }

    public String getEnabledmark() {
        return this.enabledmark;
    }

    public String getCreatoruserid() {
        return this.creatoruserid;
    }

    public Date getCreatortime() {
        return this.creatortime;
    }

    public String getLastmodifyuserid() {
        return this.lastmodifyuserid;
    }

    public Date getLastmodifytime() {
        return this.lastmodifytime;
    }

    @JsonProperty("id")
    public void setId(String id) {
        this.id = id;
    }

    @JsonProperty("name")
    public void setName(String name) {
        this.name = name;
    }

    @JsonProperty("value")
    public void setValue(String value) {
        this.value = value;
    }

    @JsonProperty("enabledmark")
    public void setEnabledmark(String enabledmark) {
        this.enabledmark = enabledmark;
    }

    @JsonProperty("creatoruserid")
    public void setCreatoruserid(String creatoruserid) {
        this.creatoruserid = creatoruserid;
    }

    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss",
        timezone = "GMT+8"
    )
    @JsonProperty("creatortime")
    public void setCreatortime(Date creatortime) {
        this.creatortime = creatortime;
    }

    @JsonProperty("lastmodifyuserid")
    public void setLastmodifyuserid(String lastmodifyuserid) {
        this.lastmodifyuserid = lastmodifyuserid;
    }

    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss",
        timezone = "GMT+8"
    )
    @JsonProperty("lastmodifytime")
    public void setLastmodifytime(Date lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ViewsScriptInfoVO)) {
            return false;
        } else {
            ViewsScriptInfoVO other = (ViewsScriptInfoVO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$value = this.getValue();
                Object other$value = other.getValue();
                if (this$value == null) {
                    if (other$value != null) {
                        return false;
                    }
                } else if (!this$value.equals(other$value)) {
                    return false;
                }

                Object this$enabledmark = this.getEnabledmark();
                Object other$enabledmark = other.getEnabledmark();
                if (this$enabledmark == null) {
                    if (other$enabledmark != null) {
                        return false;
                    }
                } else if (!this$enabledmark.equals(other$enabledmark)) {
                    return false;
                }

                Object this$creatoruserid = this.getCreatoruserid();
                Object other$creatoruserid = other.getCreatoruserid();
                if (this$creatoruserid == null) {
                    if (other$creatoruserid != null) {
                        return false;
                    }
                } else if (!this$creatoruserid.equals(other$creatoruserid)) {
                    return false;
                }

                Object this$creatortime = this.getCreatortime();
                Object other$creatortime = other.getCreatortime();
                if (this$creatortime == null) {
                    if (other$creatortime != null) {
                        return false;
                    }
                } else if (!this$creatortime.equals(other$creatortime)) {
                    return false;
                }

                Object this$lastmodifyuserid = this.getLastmodifyuserid();
                Object other$lastmodifyuserid = other.getLastmodifyuserid();
                if (this$lastmodifyuserid == null) {
                    if (other$lastmodifyuserid != null) {
                        return false;
                    }
                } else if (!this$lastmodifyuserid.equals(other$lastmodifyuserid)) {
                    return false;
                }

                Object this$lastmodifytime = this.getLastmodifytime();
                Object other$lastmodifytime = other.getLastmodifytime();
                if (this$lastmodifytime == null) {
                    if (other$lastmodifytime != null) {
                        return false;
                    }
                } else if (!this$lastmodifytime.equals(other$lastmodifytime)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ViewsScriptInfoVO;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $value = this.getValue();
        result = result * 59 + ($value == null ? 43 : $value.hashCode());
        Object $enabledmark = this.getEnabledmark();
        result = result * 59 + ($enabledmark == null ? 43 : $enabledmark.hashCode());
        Object $creatoruserid = this.getCreatoruserid();
        result = result * 59 + ($creatoruserid == null ? 43 : $creatoruserid.hashCode());
        Object $creatortime = this.getCreatortime();
        result = result * 59 + ($creatortime == null ? 43 : $creatortime.hashCode());
        Object $lastmodifyuserid = this.getLastmodifyuserid();
        result = result * 59 + ($lastmodifyuserid == null ? 43 : $lastmodifyuserid.hashCode());
        Object $lastmodifytime = this.getLastmodifytime();
        result = result * 59 + ($lastmodifytime == null ? 43 : $lastmodifytime.hashCode());
        return result;
    }

    public String toString() {
        return "ViewsScriptInfoVO(id=" + this.getId() + ", name=" + this.getName() + ", value=" + this.getValue() + ", enabledmark=" + this.getEnabledmark() + ", creatoruserid=" + this.getCreatoruserid() + ", creatortime=" + this.getCreatortime() + ", lastmodifyuserid=" + this.getLastmodifyuserid() + ", lastmodifytime=" + this.getLastmodifytime() + ")";
    }
}
